package main

import (
	"thirdpaysdk/api/oceanpayment"
	//"github.com/astaxie/beego"
)

func main() {
	account := "140105"
	terminal := "14010559"
	noticeUrl := "https://api.dhfapp.com" + "/public/oceanpay/notify"
	key := "8FT266Dd64L408p40hNBHHxLrRhf24TnbF22h6d6DBf840Nxbvd08p2Z28ZpfN40"
	orderId := "12345678900"
	currency := "CNY"
	openId := "oQlEQ0RqFx7ufQUbkrNB8xouAgDI"
	ipAddr := "115.159.73.78"
	firstName := "zhang"
	lastName := "fei"
	productName := "测试单据"
	amount := "0.01"
	oceanpayment.MicroAppPay(account,terminal,noticeUrl,orderId,currency,amount,openId,firstName,lastName,ipAddr,productName,key)
}
